@set WORK_DIR=%~dp0
@set OUTPUT_DIR=%WORK_DIR%\bin

@set GOPATH=%WORK_DIR%
@set VENDOR_DIR=%WORK_DIR%\src\vendor

@IF "%1" == "" call :build_all & cd %cd% & goto :exit

@IF "%1" == "clean" call :clean & goto :exit

@IF "%1" == "clean_log" call :clean_log & goto :exit

@IF "%1" == "clean_all" call :clean & call :clean_log & goto :exit

@IF "%1" == "glide-up" call :glide-up & cd %cd% & goto :exit

@IF "%1" == "zip-vendor" call :zip-vendor & goto :exit

@IF "%1" == "unzip-vendor" call :unzip-vendor & goto :exit

@echo unsupported operate [%1]

@goto :exit


:clean
@call make_go.bat clean
@goto :exit


:clean_log
@call make_go.bat clean_log
@goto :exit


:glide-up
@call make_go.bat glide-up
@goto :exit


:zip-vendor
@call make_go.bat zip-vendor
@goto :exit


:unzip-vendor
@call make_go.bat unzip-vendor
@goto :exit


:build_all
@echo build [all] begin
@echo build [all] end
@goto :exit


:exit
